package com.hxk.di.config;

import com.hxk.di.bean.BeanValue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 使用@Value注解实现属性赋值
 */
@Configuration
public class MainConfigValue {

    @Bean
    public BeanValue person(){
        return new BeanValue();
    }

}
